home *** CD-ROM | disk | FTP | other *** search
- global gAnimEnCours, gIdxAnim, gTimerAnim, gListeAnimSelect, gFormat
-
- on exitFrame me
- if gAnimEnCours then
- if the timer >= (gTimerAnim + gListeAnimSelect[gIdxAnim].timing) then
- gIdxAnim = gIdxAnim + 1
- if gIdxAnim > gFormat[3] then
- gIdxAnim = 1
- else
- if gListeAnimSelect[gIdxAnim].nom = 0 then
- gIdxAnim = 1
- end if
- end if
- sendAllSprites(#focus, gIdxAnim, 1)
- gTimerAnim = the timer
- end if
- end if
- go(the frame)
- end
-